package com.zhou.javase.ch03;
/**
 * 类的应用  构造对象的实现
 * */
public class StudentTest {
	
	public static void main(String[] args) {
		
		Student stu = new Student() ;
		
		System.out.println(stu.getInfo());
		/*对象方法赋值*/
		stu.setName("张三");
		stu.setAge(20);
		stu.setLevel('中');
		stu.setScore(89.5);
		stu.setSex(true);
		/*调用类的自我介绍*/
		String str = stu.getInfo();
		
		System.out.println("str:" + str);
	}
}
